require 'rubygems'
require 'ruby-debug'

PLUGIN_ROOT = "/vendor/plugins/checkbox_select/lib/"
PLUGIN_PATH = RAILS_ROOT+PLUGIN_ROOT

namespace :checkbox_select do
  task :setup do
    debugger
    true
  end
end
Person.new("hey now!", 20);
#what the hell is this shit?
def copy_javscript
  FileUtil.cp(PLUGIN_PATH+"checkbox_select.js", RAILS_ROOT+"/public/javascript/")
end

def copy_stylesheet
  FileUtil.cp(PLUGIN_PATH+"checkbox_select.css", RAILS_ROOT+"/public/stylesheets/")
end

def setup_image_directory
  FileUtil.mkdir(RAILS_ROOT+"/images/checkbox_select")
end

def copy_image_directory
  FileUtil.cp(PLUGIN_PATH+"downarrow.png", RAILS_ROOT+"/public/images/checkbox_select/")
end
